import { defineConfig } from 'vite'
import path from 'path'
import react from '@vitejs/plugin-react'
import AutoImport from 'unplugin-auto-import/vite';


// https://vitejs.dev/config/
export default defineConfig({
  plugins: [
    react(),
    AutoImport({
      imports: ['react'],
      dts: true,
      resolvers: [],
    }),
  ],
  resolve: {
    alias: {
      '@': path.resolve(__dirname, './src')
    }
  }
})
